package org.shekhar.jbpm_demo.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * User: svemuri
 * Date: Jul 17, 2009
 * Time: 6:00:18 PM
 */
@Entity
@Table(name = "order_type")
public class OrderType implements Serializable {
    @Id
    @Column(name = "id")
    private Integer id;
    private String type;


    public Integer getId() {
        return id;
    }

    @Column(name = "type", nullable = false)
    public String getType() {
        return type;
    }
}
